package com.angel.dao.health;

import com.angel.core.base.BaseMapper;
import com.angel.health.BuzDepartment;
import com.angel.health.BuzDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BuzDepartmentMapper extends BaseMapper<BuzDepartment>{
    long countByExample(BuzDepartmentExample example);

    int deleteByExample(BuzDepartmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BuzDepartment record);

    int insertSelective(BuzDepartment record);

    List<BuzDepartment> selectByExample(BuzDepartmentExample example);

    BuzDepartment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzDepartment record, @Param("example") BuzDepartmentExample example);

    int updateByExample(@Param("record") BuzDepartment record, @Param("example") BuzDepartmentExample example);

    int updateByPrimaryKeySelective(BuzDepartment record);

    int updateByPrimaryKey(BuzDepartment record);
    
    int deleteByMedicalId(Integer medicalId);
}